<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

	<title>测试页面</title>
</head>
<body>
	所有学员信息
<table border=1>
	<tr>
	   <td>索引</td>
	   <td>学号</td>
	   <td>姓名</td>
	   <td>年龄</td>
	   <td>住址</td>
	</tr>
  <#list stulist as stu>
    <#if stu_index % 2==0>
		<tr bgcolor="red">
	<#else>
		<tr bgcolor="green">
	</#if>
		<td>${stu_index}</td>
		<td>${stu.id}</td>
		<td>${stu.name}</td>
		<td>${stu.age}</td>
		<td>${stu.address}</td>
	</tr>
  </#list>
   <!-- 显示日期时间-->
  ${date?date}&nbsp;&nbsp;${date?time}&nbsp;&nbsp;${date?datetime}
  &nbsp;&nbsp;${date?string('yyyy-MM-dd HH:mm:ss')}
  ${val}
	</table>
	</body>
</html>